package com.bro.person.admin.struct;

import java.io.Serializable;

/**
 * 
 * @author bruce
 *
 */
public class AdminUserStruct implements Serializable{

	private static final long serialVersionUID = 1L;

	private int userId;

	private String username;

	private String nickname;
	
	private String password;
	
	private Short status;
	
	private Long createTimeMillis;
	
	private Long lastLoginTimeMillis;
	
	
	public AdminUserStruct() {
		super();
	}

	public AdminUserStruct(int userId, String username, String nickname, String password, Short status,
						   Long createTimeMillis, Long lastLoginTimeMillis) {
		super();
		this.userId = userId;
		this.username = username;
		this.nickname = nickname;
		this.password = password;
		this.status = status;
		this.createTimeMillis = createTimeMillis;
		this.lastLoginTimeMillis = lastLoginTimeMillis;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public Long getCreateTimeMillis() {
		return createTimeMillis;
	}

	public void setCreateTimeMillis(Long createTimeMillis) {
		this.createTimeMillis = createTimeMillis;
	}

	public Long getLastLoginTimeMillis() {
		return lastLoginTimeMillis;
	}

	public void setLastLoginTimeMillis(Long lastLoginTimeMillis) {
		this.lastLoginTimeMillis = lastLoginTimeMillis;
	}

	@Override
	public String toString() {
		return "AdminUserStruct [userId=" + userId + ", username=" + username + ", nickname=" + nickname
				+ ", password=" + password + ", status=" + status + ", createTimeMillis=" + createTimeMillis
				+ ", lastLoginTimeMillis=" + lastLoginTimeMillis + "]";
	}
	
}
